<div id="quotebox2">

<h3><a href="{% url thought_update %}?thought_id={{ thought.id }}&dontvalidate=no">{{ thought.title }}: </a></h3>
<div><a href="{% url thought_vnote %}?thought_id={{ thought.id }}">({{ notes_count }}) Notes </a> </div>
{% if thought.published %} <div>Published by <a href="#" > {{thought.inventor.username}} </a> On {{ thought.published_date }} </div>{% endif%}
<div id="small">
<form method="POST" class="toggle_witness_form" action="{% url thought_tgwitness %}">
         <input type="hidden" name="thought_id" value="{{ thought.id }}" />
         {% if witness %}
           <input class="witness unwitnessing" type="submit" value ="unwitness" />
         {% else  %}
           <input class="witness wintnessing" type ="submit" value ="witness" />
         {% endif %}
</form>
{% if not thought.published %}

<form method="POST" class="toggle_attach_form" action="{% url thought_vnote %}">
          <input  type="submit" value =" attach note " />
         <input type="hidden" name="thought_id" value="{{ thought.id }}" />
</form>


<form method="POST" class="toggle_publish_form" action="{% url thought_publish %}">
          <input type="submit" value ="publish your thought" />
         <input type="hidden" name="thought_id" value="{{ thought.id }}" />
</form>
{% endif %}

</div>
<p>
{{ thought.snippet }}
</p>
</div>

      
